package sk.tuke.domain;

import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlAccessType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AddressType", propOrder = { "name", "street", "streetNum", "city", "zip", "country" })
@XmlRootElement(name = "Address")
public class Address {

	@XmlElement(required = false)
	private String name;
	@XmlElement(required = false)
	private String city;
	@XmlElement(required = false)
	private String street;
	@XmlElement(required = false)
	private Integer streetNum;
	@XmlElement(required = false)
	private Integer zip;
	@XmlElement(required = false)
	private String country;

	public void setName(String value) {
		this.name = value;
	}

	public String getName() {
		return name;
	}

	public void setCity(String value) {
		this.city = value;
	}

	public String getCity() {
		return city;
	}

	public void setStreet(String value) {
		this.street = value;
	}

	public String getStreet() {
		return street;
	}

	public Integer getStreetNum() {
		return streetNum;
	}

	public void setStreetNum(Integer streetNum) {
		this.streetNum = streetNum;
	}

	public Integer getZip() {
		return zip;
	}

	public void setZip(Integer zip) {
		this.zip = zip;
	}

	public void setCountry(String value) {
		this.country = value;
	}

	public String getCountry() {
		return country;
	}

}
